package com.xs.room.auth.entity;

import com.sun.istack.internal.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 角色实体类
 */
@Data
@ToString
@EqualsAndHashCode
public class Role implements Serializable {

    private static final long serialVersionUID = -44062214609899076L;
    /**
     * 主键ID
     */

    private Integer id;
    /**
     * 角色名
     */

    private String name;
    /**
     * 创建时间
     */
    private LocalDateTime createTime;
    /**
     * 更新时间
     */
    private LocalDateTime updateTime;

    public interface Create {
    }

    public interface Update {
    }

}